package Service;

import domain.Dorm;

import java.util.HashMap;
import java.util.List;

public interface DormService {

    public void addDorm(Dorm dorm);

    public List<Dorm> fuzzySelectDorm(HashMap<String,String> map);

    public List<Dorm> dormList();

    public Dorm selectDormByDormnum(String dormnum);

    public void updateDorm(Dorm dorm);

    public void deleteDorm(String dormnum);

    public void payWater(Double money,String dormnum);

    public void payEle(Double money,String dormnum);


}
